package dvsdk.client;

/**
 *
 * @author Develop
 */
public class BinColumn {
    private String name;
    private int size;
    private int min=0;
    private int max=0;
    private int position=99;
    private boolean show = true;

    public BinColumn(String name,  boolean show) {
        this.name = name;
        this.size = 0;
        this.show = show;
        this.min=0;
        this.max=0;
    }
    public BinColumn(String name, int size) {
        this.name = name;
        this.size = size;
        this.min=0;
        this.max=0;
    }

    public BinColumn(String name, int size, boolean show) {
        this.name = name;
        this.size = size;
        this.show = show;
        this.min=1;
        this.max=size*2;
    }

    public BinColumn(String name, int size, int min, int max) {
        this.name = name;
        this.size = size;
        this.min = min;
        this.max = max;
    }
    public BinColumn(String name, int size, int min, int max, boolean show) {
        this.name = name;
        this.size = size;
        this.min = min;
        this.max = max;
        this.show = show;
    }

    public BinColumn(String name, int size, int position) {
        this.name = name;
        this.size = size;
        this.position = position;
    }

    public BinColumn(String name, int size, int position, int min, int max) {
        this.name = name;
        this.size = size;
        this.position = position;
        this.min = min;
        this.max = max;
    }
    
    public BinColumn(String name, int size, int position, int min, int max, boolean show) {
        this.name = name;
        this.size = size;
        this.position = position;
        this.min = min;
        this.max = max;
        this.show = show;
    }
    
    public boolean isShow() {
        return show;
    }

    public void setShow(boolean show) {
        this.show = show;
    }
    
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getMax() {
        return max;
    }

    public void setMax(int max) {
        this.max = max;
    }

    public int getMin() {
        return min;
    }

    public void setMin(int min) {
        this.min = min;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }
}